home *** CD-ROM | disk | FTP | other *** search
/ Windows Expert / Windows Expert.iso / utility / uwserver.zip / uwserver.tar / h / uw_param.h < prev    next >
C/C++ Source or Header  |  1991-01-25  |  1KB  |  38 lines

  1. /*
  2.  *    uw parameters
  3.  *
  4.  * Copyright 1986 by John D. Bruner.  All rights reserved.  Permission to
  5.  * copy this program is given provided that the copy is not sold and that
  6.  * this copyright notice is included.
  7.  */
  8.  
  9. /*
  10.  * This file exists because #include file definitions aren't in the same
  11.  * place on all machines.  Also, it seems pointless to drag in all of
  12.  * <stdio.h> just to define NULL.  Finally, a few declarations are
  13.  * sufficiently global that this is the most logical place to put them.
  14.  *
  15.  * This file should be #included after all of the system include files
  16.  * (e.g. <sys/types.h>) but before any other UW include files.
  17.  */
  18. #ifndef UW_PARAM
  19. #define    UW_PARAM
  20.  
  21. typedef int fildes_t;        /* this really should be in <sys/types.h> */
  22.  
  23. #ifndef NBBY            /* this is in <sys/types.h> in 4.3BSD */
  24. #define    NBBY    8        /* (number of bits/byte) */
  25. #endif
  26.  
  27. #ifndef NULL
  28. #define    NULL    0
  29. #endif
  30.  
  31. extern char *malloc();
  32. extern char *mktemp();
  33. extern char *getenv();
  34. extern void done();
  35. extern void cwait();
  36.  
  37. #endif
  38.